import { httpDelete, httpGet, httpPost, httpPut } from "../utils/http"



// 获取服务项目
export const findServiceItemsApi = (data) => {
    return httpPost('/serviceItems/search', data)
}
// 添加服务项目
export const addServiceItemsApi = (data) => {
    return httpPost('/serviceItems/add', data)
}
// 删除服务项目
export const deleteServiceItemsApi = (data) => {
    return httpDelete('/serviceItems/remove', data)
}
// 修改服务项目
export const updateServiceItemsApi = (data) => {
    return httpPut('/serviceItems/update', data)
}
// 获取一服务项目分类名称
export const getServiceItemsApi = (data) => {
    return httpGet('/serviceItems/detail', data)
}